<B>This page contains a JavaScript that open a new window with a specified size and contents</B>
<P>
Please note that JavaScript is currently only available in Netscape Navigator 2.0 or higher.<BR>
<FONT COLOR="931B15">Do not assume that all in your audience are using a JavaScript enabled browser.</FONT>
<HR>
<P>
This short JavaScript lets you open a file in a new window - you can also specify the size of the window and if the toolbar and other parts of the windows user interface should be displayed.
<P>
We use it to create a small remote control that will let you choose beetween some of the JavaScript Examples included with PageSpinner. The source of the remote control page is in the <A HREF="remote.html">remote.html</A>.
<P>
Since the window size is specified in pixels, it is recommended to use a table with a preset size in pixels or images as the contents of the page. In our example we can't be sure that the full table will be visible in the window, so we choose to let the scrollbars be visible, but disables most other user-interface parts of the window.
Change the setting of the window options by editing the text, most options accepts the values <I>yes</I> or <I>no</I>.
The following options and values can be specified when opening a new window:
<UL>
<LI>toolbar[=yes|no]|[=1|0]
<LI>location[=yes|no]|[=1|0]
<LI>directories[=yes|no]|[=1|0]
<LI>status[=yes|no]|[=1|0]
<LI>menubar[=yes|no]|[=1|0]
<LI>scrollbars[=yes|no]|[=1|0]
<LI>resizable[=yes|no]|[=1|0]
<LI>width=pixels
<LI>height=pixels
</UL>
<P>
Replace the filename, <CODE>"remote.html"</CODE>, with the name of the page that contains your remote control. You can of course put other contents in the window that is opened, e.g., a guided tour of your site, (see the <A HREF="../Miscellaneous Examples/Autoload.html">autoload</A> example) or you can use it as status window.
<P>
Please note that some browser, like Navigator 3.0, will not use all specified options.